package y23.Apr;

import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;

public class MaoPao {
    public static void main(String[] args) {
        List<java.lang.Integer> integers = Arrays.asList(1, 4, 3, 54, 656, 76, 878, 89, 9, 0);
        List<java.lang.Integer> collect = integers.stream().sorted().collect(Collectors.toList());
        collect.stream().forEach(s-> System.out.println(s));
    }
}
